package com.lin.java.tool.send.enums;

import lombok.Getter;

/**
 * @author: linjiang
 * @date: 2025/1/17
 */
@Getter
public enum EmailTemplateEnum {
    /**
     * 内部模板
     */
    INTERNAL_CAPTCHA("验证码登录或注册", "主题：验证码 \n尊敬的【{username}】，\n您的验证码是：{code}，有效期{minute}分钟。请勿将此验证码分享给他人。", false);

    private String subject;

    private String template;

    private Boolean html;


    EmailTemplateEnum(String subject, String template, Boolean html) {
        this.subject = subject;
        this.template = template;
        this.html = html;
    }
}
